// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import mixins from './mixins'
import BaiduMap from 'vue-baidu-map'
import axios from 'axios'
import EleUI from 'element-ui'
import VueParticles from 'vue-particles'
import 'font-awesome/css/font-awesome.css'

axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'
Vue.config.productionTip = false
Vue.prototype.axios = axios
// FaceServerAddress
Vue.prototype.FSA = 'http://10.10.10.85:6868'
// Vue.prototype.FSA = 'http://10.10.11.161:6868'
// Vue.prototype.FSA = 'http://10.10.11.35:6868'
Vue.mixin(mixins)
Vue.use(EleUI)
Vue.use(VueParticles)
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'uSHsPhtmjpSmIUVGaIze3HngqTk83kve'
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
